﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>最简单的获取时间的方法</title>
    <script type="text/javascript">
        var now = Date().split(" ")[3];
        alert(now);
    </script>
</head>
<body>

</body>
</html>